package com.jcfk.eam.dao.csm;

import com.jcfk.common.business.dao.BaseDao;
import com.jcfk.common.web.domain.DataPage;
import com.jcfk.eam.domain.dto.csm.CsmLedgerManageDTO;
import com.jcfk.eam.domain.po.csm.CsmLedgerManage;
import com.jcfk.eam.domain.query.csm.CsmLedgerManageQuery;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 消耗品台账管理
 *
 * @author awei
 * @email 522891237@gqq.com
 * @date 2024-11-04
 */
@Repository
public interface CsmLedgerManageDao extends BaseDao<CsmLedgerManage> {
    /**
     * 消耗品台账管理分页查询
     *
     * @param page
     * @param query
     * @return
     */
    DataPage<CsmLedgerManageDTO> queryByPage(@Param("page") DataPage<CsmLedgerManageDTO> page, @Param("query") CsmLedgerManageQuery query);

    List<CsmLedgerManageDTO> getchilds(@Param("query") CsmLedgerManageQuery query);

}
